package com.csu.mining.activity;

import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import android.os.Bundle;

import com.csu.mining.R;
import com.csu.mining.adapters.MiningVideoAdapter;

public class VideoListActivity extends BaseActivity {

    RecyclerView mRcView;
    MiningVideoAdapter miningVideoAdapter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video_list);
        initNavBar(true,"动画");
        initBottonBar("mov");
        mRcView = fd(R.id.ry_video);
        mRcView.setLayoutManager(new GridLayoutManager(this,1));
        miningVideoAdapter = new MiningVideoAdapter(this);
        mRcView.setAdapter(miningVideoAdapter);
    }
}
